<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<style type="text/css">
			
				div {
					width: 200px;
					height: 100px;
					text-align: center;
					color: white;
				}
				#d5 {
					background-color: red;
					color: black;
					position: absolute;
					left: 50%;
					top: 50%;
					transform: translate(-50%, -50%);
				}
		</style>
	</head>
	<body>
		<div id="d5">
			整个网页垂直+水平居中
		</div>
	</body>
</html>
